package com.woniu.liuzhougov.businessproject.vo;

import com.woniu.liuzhougov.authorityControl.pojo.User;
import com.woniu.liuzhougov.fileManage.pojo.FileType;
import com.woniu.liuzhougov.itemAndTask.pojo.Item;

import java.util.Date;

/**
 * @Description: desc
 * @author: Chris
 * @createDate: 2019/4/30 0030
 * @version: 1.0
 */
public class BusinessProjectUploadVO {

    private Integer fileId;

    private Integer fileLoaderId;

    private Integer fileTypeId;

    private Integer itemId;

    private Date fileTime;

    private String fileName;

    private String fileUrl;

    private String fileState;

    private String fileSize;

    private String fileContent;

    private User user;  //创建人

    private FileType fileType;  //文件类型

    private Item item;   //所属事项

    public Integer getBusinessProjectId() {
        return businessProjectId;
    }

    public void setBusinessProjectId(Integer businessProjectId) {
        this.businessProjectId = businessProjectId;
    }

    private Integer businessProjectId;

    public BusinessProjectUploadVO(){

    }

    public BusinessProjectUploadVO(Integer fileTypeId, Integer itemId) {
        this.fileTypeId = fileTypeId;
        this.itemId = itemId;
    }

    public BusinessProjectUploadVO(Integer fileTypeId, Integer itemId, String fileState, String fileContent) {
        this.fileTypeId = fileTypeId;
        this.itemId = itemId;
        this.fileState = fileState;
        this.fileContent = fileContent;
    }

    public String getFileContent() {
        return fileContent;
    }

    public void setFileContent(String fileContent) {
        this.fileContent = fileContent;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileState() {
        return fileState;
    }

    public void setFileState(String fileState) {
        this.fileState = fileState;
    }

    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public FileType getFileType() {
        return fileType;
    }

    public void setFileType(FileType fileType) {
        this.fileType = fileType;
    }

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public Integer getFileLoaderId() {
        return fileLoaderId;
    }

    public void setFileLoaderId(Integer fileLoaderId) {
        this.fileLoaderId = fileLoaderId;
    }

    public Integer getFileTypeId() {
        return fileTypeId;
    }

    public void setFileTypeId(Integer fileTypeId) {
        this.fileTypeId = fileTypeId;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Date getFileTime() {
        return fileTime;
    }

    public void setFileTime(Date fileTime) {
        this.fileTime = fileTime;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    @Override
    public String toString() {
        return "FileData{" +
                "fileId=" + fileId +
                ", fileLoaderId=" + fileLoaderId +
                ", fileTypeId=" + fileTypeId +
                ", itemId=" + itemId +
                ", fileTime=" + fileTime +
                ", fileName='" + fileName + '\'' +
                ", fileUrl='" + fileUrl + '\'' +
                ", fileState='" + fileState + '\'' +
                ", fileSize='" + fileSize + '\'' +
                ", fileContent='" + fileContent + '\'' +
                ", user=" + user +
                ", fileType=" + fileType +
                ", item=" + item +
                '}';
    }
}
